package com.yanghx.user.server.enums;

import lombok.Getter;

/**
 * @author yangHX
 * createTime  2019/9/14 21:12
 */
@Getter
public enum RoleEnum {

    BUYER(1, "买家"),
    SELLER(2, "卖家"),
    ;

    private Integer code;

    private String message;

    RoleEnum(Integer code, String message) {
        this.code = code;
        this.message = message;
    }
}
